/-boot ...
BootLayout.ts
boot.ts
/-docs
/-editor
CodeMirrorEditor.ts
CompletionCodeMirrorEditor.ts
CssEditorType.ts
Editor.ts
EditorType.ts
HtmlEditorType.ts
JavaScriptEditorType.ts
TypeScriptEditorType.ts
x-last-PlainTextEditorType.ts
/-files
/-files-old
/-imports
/-layout
/-storage
/-tests
/-typings
TypeScriptService.ts
functions.ts
ko.ts
nteapo.html
persistence.api.ts
persistence.ts
shell.ts
teapo.html
teapo.ts
36
1
module teapo.boot {
2
3
  export class BootLayout {
4
5
    container: HTMLDivElement;
6
7
    private _titleDiv: HTMLDivElement;
8
9
    constructor() { 
10
      this.container = <HTMLDivElement>createElement('div', {
11
        position: 'fixed',
12
        zIndex: 1000000,
13
        left: '0px', top: '0px', right: '0px', bottom: '0px',
14
        background: 'white', color: 'black'
15
      });
16
17
      this._titleDiv = <HTMLDivElement>createElement('div', {
18
        position: 'fixed',
19
        left: '5%', top: '5%', right: '5%',
20
        text: 'Loading...'
21
      }, this.container);
22
23
    }
24
25
    setTitle(title: string) {
26
      setText(this._titleDiv, title);
27
    }
28
29
    setProgressRatio(ratio: number) {
30
      // TODO: update progress width...
31
    }
32
33
  }
34
35
36
}
29:39